projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
053b4ab
)
Clean up.
author
robertl
<robertl>
Mon, 2 Feb 2004 17:26:42 +0000
(17:26 +0000)
committer
robertl
<robertl>
Mon, 2 Feb 2004 17:26:42 +0000
(17:26 +0000)
util.c
patch
|
blob
|
history
diff --git
a/util.c
b/util.c
index f30a05d819f0aec5e009afe04bda73f2deb29f8a..309f80fad6645a778b7f7695c5f0b9ccf261c211 100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-752,7
+752,7
@@
char * str_utf8_to_ascii( const char * str )
* ways such as spaces within the tags, etc.
*/
char *
-strip_html(utf_string *in)
+strip_html(
const
utf_string *in)
{
char *outstring, *out;
int ctr;
@@
-769,11
+769,9
@@
strip_html(utf_string *in)
for(ctr=0; ; instr++) {
switch(*instr) {
case 0:
- fprintf(stderr, "%s\n", out);
return (out);
case '<':
- fprintf(stderr, "\n+");
if (instr[1] == 'p')
*outstring++ = '\n';
ctr++;